package ynu.sxp.demoapp.cart.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import ynu.sxp.demoapp.user.dto.UserVO;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class CartRO {
    @Schema(description = "购物车ID")
    private UUID id;
    @Schema(description = "用户信息")
    private UserVO user;
    @Schema(description = "商品列表")
    private List<CartProductRO> cartProducts = new ArrayList<>();
}
